package geektime.spring.springbucks.model;


import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 * @title: SomeBean
 * @projectName springbucks
 * @description: TODO
 * @date 2022/9/2621:26
 */
@Component
@Getter
public class SomeBean {
    //timeout的值会自动更新
    @Value("${request.timeout:200}")
    private int timeout;


}
